package com.wxp.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;

import com.wxp.entity.Role;

public interface RoleService {
	 Page<Role> findAll(Pageable pageable);
     Page<Role> findAll(Specification spec, PageRequest pageRequest);
     public String save(Role role);
     public void savePermission(String roleCode,String data);
     
     public List<Role> findUserRoleAll(String userId);
    
}
